//------测算审核-机构方案审核相关----------

import request from "@/router/axios";



//机构方案提交查询
export function jgfaList(query) {
  return request({
    url: '/bonus/bonuspartialschemereview/page',
    method: 'get',
    params: query
  })
}

//机构方案审核查询
export function getJJFaTaskPage(query) {
  return request({
    url: '/bonus/bonuspartialschemereview/getJJFaTaskPage',
    method: 'get',
    params: query
  })
}

//查
export function detailList(query) {
  return request({
    url: '/bonus/bonuspartialschemedetail/getDetailList',
    method: 'get',
    params: query
  })
}

//提交提交审批流
export function submitExamine(obj) {
  return request({
    url: '/bonus/bonuspartialschemereview/submitExamine',
    method: 'post',
    data: obj
  })
}
//提交审核审批流
export function submitTask(obj) {
  return request({
    url: '/bonus/bonuspartialschemereview/submitTask',
    method: 'post',
    data: obj
  })
}

export function getNodeInfo(proId) {
  return request({
    url: '/bonus/bonuspartialschemereview/getCurrentTask/' + proId,
    method: 'get'
  })
}


export function showMessage(id) {
  return request({
    url: '/act/sp/historyTaskList/'+id,
    method: 'get'
  })
}

